#ifndef __MTPK53_002NGF06_H__
#define __MTPK53_002NGF06_H__

#include "main.h"

#define TOUCHKEY_RADIUS 50

struct TouchPoint
{
    int16_t x;
    int16_t y;
};
/*
extern const struct TouchPoint TKC_LT;
extern const struct TouchPoint TKC_LB;
extern const struct TouchPoint TKC_MT;
extern const struct TouchPoint TKC_MB;
extern const struct TouchPoint TKC_RT;
extern const struct TouchPoint TKC_RB;
*/
extern uint8_t TouchState;

extern void mtpTouchKeyTest(void);
extern uint8_t pointIsInsideSquare(struct TouchPoint pointToTest, struct TouchPoint squareCenter, uint16_t squareHalfWidth);


#endif //__MTPK53_002NGF06_H__